Resize
Check options and parameters of resize method
Image rescaling, also known as image resizing or image scaling, is an image processing technique used to change the dimensions (size) of an image while maintaining its aspect ratio. Rescaling can involve both enlarging and reducing the image's size. The goal of image rescaling is to adapt an image to fit within specific dimensions, whether it's for display, printing, or other purposes.


Parameters and default values
Option | Default value |
---|---|
borderType | constant |
borderValue | 0 |
height | - |
interpolationType | bilinear |
preserveAspectRatio | true |
width | - |
xFactor | - |
yFactor | - |